package com.mmd.manage.service;

import com.mmd.common.entity.SuDeliveryTrack;
import com.mmd.manage.vo.PageData;
import com.mmd.manage.vo.QueryDeliveryListEo;
import com.mmd.manage.vo.SuDeliveryVo;

import java.util.List;

public interface DeliveryService {
    /**
     * 保存提单号
     *
     * @param batchNos
     * @param deliveryNo
     * @return
     */
    boolean saveDeliveryNo(String batchNos, String deliveryNo);

    PageData<SuDeliveryVo> queryDeliveryList(QueryDeliveryListEo eo);

    List<SuDeliveryTrack> queryDeliveryTrackList(String deliveryNo);

    boolean saveDeliveryTrack(String deliveryNo, Integer dictKey, String content);

    boolean deleteDeliveryTrack(Long trackId);
}
